<head>
	<title>权限管理</title>
</head>
<div id="dcMain">
	<!-- 当前位置 -->
	<div id="urHere">DouPHP 管理中心<b>></b><strong>权限管理</strong> </div>
	<div class="mainBox" style="height:auto!important;height:550px;min-height:550px;">
		<h3><a href="index.php?m=admin&c=auth&a=add" class="actionBtn add">添加权限路径</a>权限管理</h3>
		<table width="100%" border="0" cellpadding="8" cellspacing="0" class="tableBasic">
			<tr>
				<th width="30" align="center">ID</th>
				<th align="center" width="100">权限名称</th>
				<th align="center" width="300">权限路径</th>
				<th width="80" align="center">操作</th>
			</tr>
			<?php foreach($this->data['data'] as $val):?>
				<tr>
					<td align="center">
						<?php echo $val['id'];?>
					</td>
					<td align="center">
						<?php echo $val['name'];?>
					</td>
					<td align="center">
						<?php echo $val['value'];?>
					</td>
					<td align="center">
						<a href="index.php?m=admin&c=auth&a=edit&id=<?php echo $val['id'];?>">编辑</a> |
						<a href="index.php?m=admin&c=auth&a=delete&id=<?php echo $val['id'];?>">删除</a>
					</td>
				</tr>
			<?php endForeach;?>	
		</table>
		<?php echo $this->data['html'];?>
		<?php echo $this->data['css'];?>
		<?php echo $this->data['js'];?>
	</div>
</div>